package edu.esiag.isin.easyncloud.admin.models;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "services")
public class Service {

	private String id;
	private String name;
	private String description;
	private State state;

	public Service() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

	public String getId() {
		return id;
	}

	@Override
	public String toString() {
		return "Service [id=" + id + ", name=" + name + ", description="
				+ description + ", state=" + state + "]";
	}

}
